package com.fms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fms.entity.Orders;
import com.fms.result.ResultData;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    ResultData addOrSaveOrder(Orders orders);

    List<Orders> getOrders();

    ResultData deleteOrder(String id);

    ResultData transferOrder(Orders orders);

    ResultData updateOrderMaterial(Orders orders);

    ResultData denyOrder(Orders orders);

    ResultData passOrder(Orders orders);

    Orders getOrder(Long id);

    ResultData equipmentConfirm(Orders orders);

    void shipmentConfirm(Orders orders);

    ResultData updateFinalPayment(Orders orders);

    ResultData updatePayment(Orders orders);
}
